#ifndef CAR_H
#define CAR_H

#define GROUP 5
/**
  *小车的方向定义：以小车的前后方向为参考方向，俯视角度。
  */
#define LEFT	1
#define RIGHT	-1

#define opposite(side) (-side)
#define set_bit(x, bit)		(x |= 1<<(bit))
#define clear_bit(x, bit)	(x &=~(1<<(bit)))
#define get_bit(x, bit)		(x & (~(1<<(bit))))


extern volatile unsigned char (*data)[GROUP];

#endif
